<?php
/**
 * Created by PhpStorm.
 * User: dell
 * Date: 2017/6/14
 * Time: 17:52
 */

namespace Weixin\Request\Weixin;


use Common\Common\Request;

class UpdateWeixinRequest extends Request
{

    private $openid;
    private $nickname;
    private $subscribe;
    private $headimgurl;
    private $update_time;

    public function setOpenId($openid)
    {
        $this->openid = $openid;
    }

    public function getOpenId()
    {
        return $this->openid;
    }

    public function setNickName($nickname)
    {
        $this->nickname = $nickname;
    }

    public function getNickName()
    {
        return $this->nickname;
    }

    public function setSubscribe($subscribe)
    {
        $this->subscribe = $subscribe;
    }

    public function getSubscribe()
    {
        return $this->subscribe;
    }

    public function setHeadImgUrl($headimgurl)
    {
        $this->headimgurl = $headimgurl;
    }

    public function getHeadImgUrl()
    {
        return $this->headimgurl;
    }

    public function setUpdateTime($update_time)
    {
        $this->update_time = $update_time;
    }

    public function getUpdateTime()
    {
        return $this->update_time;
    }

    public function issetOpenId()
    {
        return $this->is_set($this->openid);
    }

    public function issetSubscribe()
    {
        return $this->is_set($this->subscribe);
    }

    public function verifySubscribe()
    {
        return is_numeric($this->subscribe);
    }

    public function issetUpdateTime()
    {
        return $this->is_set($this->update_time);
    }

    public function verifyUpdateTime()
    {
        return is_numeric($this->update_time);
    }
}